package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.WebUser;
import com.voltmao.persistent.model.WebUserCriteria;

import java.util.List;
import java.util.Map;

public interface WebUserMapper {
    int countByExample(WebUserCriteria example);

    int deleteByExample(WebUserCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(WebUser record);

    int insertSelective(WebUser record);

    List<WebUser> selectByExample(WebUserCriteria example);

    WebUser selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") WebUser record, @Param("example") WebUserCriteria example);

    int updateByExample(@Param("record") WebUser record, @Param("example") WebUserCriteria example);

    int updateByPrimaryKeySelective(WebUser record);

    int updateByPrimaryKey(WebUser record);

    WebUser selectByExampleForOne(WebUserCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(WebUserCriteria example);

    List<Map<String, Object>> selectMapByExample(WebUserCriteria example);
}